<template>
  
  <el-menu
    class="el-menu-vertical-demo"
    router
    :default-active="$route.path"
  >
    <el-menu-item index="/cacHospitel/bookView/book">
      <el-icon><icon-menu /></el-icon>
      <template #title><text class="text">预 约</text></template>
    </el-menu-item>
    <el-menu-item index="/cacHospitel/bookView/bookmsg">
      <el-icon><document /></el-icon>
      <template #title>预 约 信 息</template>
    </el-menu-item>
  </el-menu>
</template>
  
  <script lang="ts" setup>
import { ref } from "vue";
import {
  Document,
  Menu as IconMenu,
  Location,
  Setting,
} from "@element-plus/icons-vue";




</script>
  <style scoped>
.el-menu-vertical-demo:not(.el-menu--collapse) {
  width: 200px;
  min-height: 400px;
}
.text {
  font-weight: bold;
}
</style>